﻿Public Class HomeController
    Inherits System.Web.Mvc.Controller

    Function Index(ByVal qr As String) As ActionResult
        ViewData("Message") = ""

        ViewData("QR") = qr

        Return View()
    End Function

    <Authorize>
    Function About() As ActionResult
        ViewData("Message") = "Your app description page."

        Return View()
    End Function

    <Authorize>
    Function Contact() As ActionResult
        ViewData("Message") = "Your contact page."

        Return View()
    End Function
End Class
